/**
 * output package name
 */
package com.kingdee.eas.custom.aoyuan.aytime;

import java.util.Map;
import java.util.List;
import java.util.Iterator;
import com.kingdee.util.enums.IntEnum;

/**
 * output class name
 */
public class OTTypeEnum extends IntEnum
{
    public static final int NORMAL_OT_VALUE = 1;
    public static final int WEEKEN_OT_VALUE = 2;
    public static final int HOLIDAY_OT_VALUE = 3;

    public static final OTTypeEnum NORMAL_OT = new OTTypeEnum("NORMAL_OT", NORMAL_OT_VALUE);
    public static final OTTypeEnum WEEKEN_OT = new OTTypeEnum("WEEKEN_OT", WEEKEN_OT_VALUE);
    public static final OTTypeEnum HOLIDAY_OT = new OTTypeEnum("HOLIDAY_OT", HOLIDAY_OT_VALUE);

    /**
     * construct function
     * @param integer oTTypeEnum
     */
    private OTTypeEnum(String name, int oTTypeEnum)
    {
        super(name, oTTypeEnum);
    }
    
    /**
     * getEnum function
     * @param String arguments
     */
    public static OTTypeEnum getEnum(String oTTypeEnum)
    {
        return (OTTypeEnum)getEnum(OTTypeEnum.class, oTTypeEnum);
    }

    /**
     * getEnum function
     * @param String arguments
     */
    public static OTTypeEnum getEnum(int oTTypeEnum)
    {
        return (OTTypeEnum)getEnum(OTTypeEnum.class, oTTypeEnum);
    }

    /**
     * getEnumMap function
     */
    public static Map getEnumMap()
    {
        return getEnumMap(OTTypeEnum.class);
    }

    /**
     * getEnumList function
     */
    public static List getEnumList()
    {
         return getEnumList(OTTypeEnum.class);
    }
    
    /**
     * getIterator function
     */
    public static Iterator iterator()
    {
         return iterator(OTTypeEnum.class);
    }
}